package com.qcby.community.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 *
 * </p>
 *
 * @author admin
 * @since 2024-03-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Community implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "community_id", type = IdType.AUTO)
    private Integer communityId;

    /**
     * 小区名称
     */
    private String communityName;

    /**
     * 楼栋数量
     */
    private Integer termCount;

    /**
     * 序号
     */
    private Integer seq;

    /**
     * 创建人
     */
    private String creater;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 经度
     */
    private Float lng;

    /**
     * 维度
     */
    private Float lat;


}
